package com.qf.gh.service;

import com.qf.gh.domain.Goods;
import com.qf.gh.domain.PageBean;

import java.util.List;

public interface GoodsService {
    PageBean findByPage(int typeId, int pageNum, int pageSize);

    Goods findById(int id);

    List<Goods> find();

    void insert(Goods goods);

    void delete(int parseInt);

    void update(Goods goods, int i);

    List<Goods> findByName(String toString, List<Object> parmas);
}
